const kenx = require("knex")({
  client: "mysql",
  connection: {
    host: "127.0.0.1",
    port: "3306",
    user: "root",
    password: "123456",
    database: "vue-admin",
  },
  pool: {
    min: 0,
    max: 20,
  },
  acquireConnectionTimeout: 10000, // 超时时间
})

module.exports = kenx
